#pragma once
#include <d3dx9.h>
class Sprite;
class Box;

enum ObjectType
{

	ObjPlayer, ObjBlockHouse, ObjGif, ObjBullet, ObjIS, ObjBridge, ObjStandSniper,ObjSniper, ObjDefenseCannon, ObjGrenade, ObjCannon, ObjWallTurret, ObjBoss

};

class Object
{
protected:
	Box* _box;	
	ObjectType _obj;
	Sprite* _sprite;
	float delay;
public:
	virtual void init();
	virtual void update();
	virtual void render();	
	Object(Box* box);		
	Box* getBox();
	ObjectType getObjectType();
	Object(Box* box, ObjectType obj);
	~Object(void);
};

